export const CustomData = {
  smtpProtocol: 'smtp',
  smtpHost: null,
  smtpPort: null,
  timeout: null,
  enableProxy: false,
  enableTls: false,
  tlsVersion: null,
  proxyHost: null,
  proxyPort: null,
  proxyUser: null,
  proxyPassword: null,
  scope: [],
  authUri: null,
  tokenUri: null,
  providerTenantId: null,
  clientId: null,
  clientSecret: null,
  password: null,
  editPassword: false,
  enableOauth2: false,
};

export const GoogleData = {
  smtpProtocol: 'smtps',
  smtpHost: 'smtp.gmail.com',
  smtpPort: 465,
  timeout: 10000,
  enableProxy: false,
  enableTls: true,
  tlsVersion: 'TLSv1.2',
  proxyHost: null,
  proxyPort: null,
  proxyUser: null,
  proxyPassword: null,
  clientId: null,
  clientSecret: null,
  providerTenantId: null,
  tokenUri: 'https://oauth2.googleapis.com/token',
  authUri: 'https://accounts.google.com/o/oauth2/v2/auth?prompt=consent&access_type=offline',
  scope: [{ text: 'https://mail.google.com/' }],
  password: null,
  editPassword: false,
  enableOauth2: false,
};

export const Office365Data = {
  smtpProtocol: 'smtp',
  smtpHost: 'smtp.office365.com',
  smtpPort: 587,
  timeout: 10000,
  enableTls: true,
  tlsVersion: 'TLSv1.2',
  enableProxy: false,
  proxyHost: null,
  proxyPort: null,
  proxyUser: null,
  proxyPassword: null,
  clientId: null,
  clientSecret: null,
  providerTenantId: null,
  scope: [
    { text: 'https://outlook.office365.com/SMTP.Send' },
    { text: 'offline_access' },
    { text: 'openid' },
  ],
  authUri: 'https://login.microsoftonline.com/%s/oauth2/v2.0/authorize',
  tokenUri: 'https://login.microsoftonline.com/%s/oauth2/v2.0/token',
  password: null,
  editPassword: false,
  enableOauth2: false,
};

export const SendGridData = {
  smtpProtocol: 'smtps',
  smtpHost: 'smtp.sendgrid.net',
  smtpPort: 465,
  timeout: 10000,
  enableTls: true,
  tlsVersion: 'TLSv1.2',
  enableProxy: false,
  proxyHost: null,
  proxyPort: null,
  proxyUser: null,
  proxyPassword: null,
  clientId: null,
  clientSecret: null,
  password: null,
  scope: [],
  authUri: null,
  tokenUri: null,
  providerTenantId: null,
  editPassword: false,
  enableOauth2: false,
};
